body {
  background-color: #fff8f0; /* pastel cream */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sidebar {
  width: 250px;
  background: #f7d9d9; /* soft pastel pink */
  padding: 20px;
  text-align: center;
  position: fixed;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 100;
  margin: 0;
}

.links button {
  width: 100%;
  padding: 10px 0;
  margin: 5px 0;
  background-color: #f0cfe0; /* pastel purple */
  color: #5b3a60; /* muted purple text */
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.links button:hover,
.links button:focus {
  background-color: #c0e2ff; /* pastel blue hover */
  outline: none;
}

.links a {
  text-decoration: none;
  color: #5b3a60;
  font-weight: bold;
}

.img img {
  width: 200px;
  height: 200px;
  border: 2px #ffd3d3 solid; /* pastel pink border */
  border-radius: 50%;
  box-shadow: 2px 2px 30px rgba(150, 150, 150, 0.3);
  animation: imgfade 3s ease-in-out;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.img {
  background: #f5e8e8; /* very light pastel background */
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 24px rgba(200, 180, 180, 0.3);
  display: inline-block;
  margin: 0 auto 20px auto;
}

@keyframes imgfade {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
  }
}

.header h1 {
  margin-left: 250px;
  padding: 10px 0;
  color: #88b04b; /* pastel green */
  text-shadow: 2px 2px 5px #ffffff;
  font-family: cursive;
  font-size: 50px;
  text-align: center;
  font-weight: bold;
  animation: fadein 3s ease-in-out;
}

.header h2 {
  margin-left: 270px;
  padding: 10px 0;
  color: #db7093; /* pastel pink-purple */
  text-shadow: 2px 2px 5px #eacdf1;
  font-family: cursive;
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  animation: fadein 3s ease-in-out;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#main-content {
  margin-left: 300px;
  padding: 10px 0;
  color: #55506b; /* soft muted purple-gray */
  font-family: cursive;
  font-size: 10px;
  text-align: center;
  font-weight: bold;
  animation: fadein 3s ease-in-out;
}

.dark-mode {
  background-color: #2b2b2b;
  color: #ffffff;
}

.container {
  width: 65%;
  margin-left: 320px;
  padding: 30px;
}

/* -------------------- RESPONSIVE -------------------- */

/* Tablet View */
@media (max-width: 1024px) {
  .container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .img img {
    width: 120px;
    height: 120px;
  }

  .header h1,
  .header h2,
  #main-content {
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
  }

  .header h1 {
    font-size: 30px;
  }

  .header h2 {
    font-size: 22px;
  }

  #main-content {
    font-size: 14px;
  }

  .container {
    width: 90%;
    margin: auto;
    padding: 15px;
  }
}
